 #include "cal51.h"
 
 unsigned char countDown(unsigned char modeKey)
 {
 	unsigned char k = 33;
	while(modeKey==0x08)
	{
		k = KeyValue();
		switch(k)
		{
			case 1:
			case 2:
			case 3:
			case 4:
			case 5:
			case 6:
			case 7:
			case 8:
			case 9:
			case 10:
			case 11:
			case 12:
			case 13:
			case 14:
			case 15:
			case 16:
			case 17:
			case 18:
			case 19:
			case 20:
			case 21:
			case 22:
			case 23:
			case 24:
				break;
			case 25:
				menu();
				break;
			case 26:
			case 27:
			case 28:
			case 29:
			case 30:
			case 31:
			case 32:
				break;
			default:
				break;
		}	
	}
	return (modeKey);
 }